package com.entor.hqj.main;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.entor.hqj.login.R;
import com.entor.hqj.util.TitleBuilder;

public class VoteActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_vote);

        initTitle();

    }

    public void initTitle(){
        new TitleBuilder(this).setMidTitleText("投票中心")
                .setLeftText("返回")
                .setLeftImgOrTextListener(new titleLeftImgOrTextListener());
    }

    class titleLeftImgOrTextListener implements View.OnClickListener{

        @Override
        public void onClick(View view) {
            finish();
        }
    }


}
